Package com.streamwide.smartms.lib.core.api.account.login

Types

Link copied to clipboard
interface CompletionCallback : STWCallback<T>
A callback to be implemented in order to receive information about the login process
Link copied to clipboard
interface LogoutCallBack : STWCallback<T>

IAccountCallback

Description :

This callback is used in STWAccountManager when doing the login

Example of use :

  • Implementation :
    
    LogoutCallBack mLogoutCallBack = new LogoutCallBack() {
    public void onStart() {
    
    }
    
    public void onFinish() {
    
    }
    
    public void onError() {
    
    }
    }
    
  • Register :
    
            STWAccountManager.getInstance().logout(context,informAdmin, mLogoutCallBack);
            
Link copied to clipboard
open class RegisterInfo
An object holding information regarding the registration, such us the link to be sent by email and/or SMS
Link copied to clipboard
interface RegisterOrganisationCallback : RegistrationCallback

RegisterOrganisationCallback :

A callback used in STWAccountManager when registering a user using only the organisation ID.
Link copied to clipboard
interface RegistrationCallback : STWCallback<T>

RegistrationCallback :

A callback to be used in STWAccountManager when registering a user for the first time.